package com.allwees.bs.module.pms.service;

import com.allwees.bs.module.pms.req.AuditProductReq;
import com.allwees.bs.module.pms.req.ProductForbidTheSaleReq;
import com.allwees.bs.module.pms.req.ProductLiftBanSaleReq;
import com.allwees.bs.module.pms.req.query.ExportGaSkuQueryReq;
import com.allwees.bs.module.pms.vo.ExportGaSkuVo;

import java.util.List;
import java.util.Set;

/**
 * 平台Product操作接口
 *
 * @author yangylsky
 * @since 2019-08-21
 */
public interface PlatformProductService extends BaseProductService {
    /**
     * 审核Product上架申请
     *
     * @param req
     */
    int audit(AuditProductReq req);


    Set<String> allForbiddenUuids();


    List<ExportGaSkuVo> exportGaSkus(ExportGaSkuQueryReq req);

    /**
     * 禁售
     *
     * @param req
     */
    void forbidTheSale(ProductForbidTheSaleReq req);

    /**
     * 解禁
     *
     * @param req
     */
    void liftBan(ProductLiftBanSaleReq req);

}
